IX. Services Commands

The commands in the services command node manage the Network Data Management Protocol (NDMP) and Simple Network Management Protocol (SNMP) services for a SpinServer system. NDMP is an open standard for controlling backups and restorations of NDMP-compliant file servers from NDMP-compliant data management applications (DMAs). SNMP is an open standard for monitoring and managing systems and devices on a network. SNMP is used on the SpinServer system to support the management of traps, which signal the occurrence of events.

The services command node includes the following subnode commands:

  • antivirus

  • firewall

  • ndmp

  • ntp

  • snmp

  • support

Each of the subnode and leaf-node commands is described in detail, with parameters and arguments listed for each command.

Examples of command usage are included in the discussions.

Table of Contents
Antivirus Commands —
Antivirus Configuration Commands —
services antivirus configuration modify — Use the services antivirus configuration modify command to modify the antivirus configuration for a SpinServer cluster.
services antivirus configuration show — Use the services antivirus configuration show command to display information about the antivirus configuration for a cluster.
services antivirus configuration testurl — Use the services antivirus configuration testurl command to test a download of the antivirus configuration file.
Antivirus Scanners Commands —
services antivirus scanners delete — Use the services antivirus scanners delete command to delete a scanner level.
services antivirus scanners show — Use the services antivirus scanners show command to display information about one or more scanner levels.
Antivirus Servers Commands —
services antivirus servers deletescannerfiles — Use the services antivirus servers deletescannerfiles command to delete antivirus scanner files from a specified SpinServer.
services antivirus servers getlatestupdate — Use the services antivirus servers getlatestupdate command to download the latest antivirus update to a specified SpinServer.
services antivirus servers getupdate — Use the services antivirus servers getupdate command to download a specific antivirus update to a specified SpinServer.
services antivirus servers setcurrent — Use the services antivirus servers setcurrent command to set the antivirus scanner for a specified SpinServer.
services antivirus servers show — Use the services antivirus servers show command to display information about the antivirus server on one or more SpinServers.
Firewall Commands —
services firewall configure modify — Use the services firewall configure modify command to modify the firewall configuration for a cluster.
services firewall configure show — Use the services firewall configure show command to display information about the firewall configuration for a cluster.
NDMP Commands —
services ndmp modify — Use the services ndmp modify command to modify a Network Data Management Protocol (NDMP) service for a backup system for a specified SpinServer.
services ndmp show — Use the services ndmp show command to display Network Data Management Protocol (NDMP) configuration information for a SpinServer.
NTP Commands —
NTP Configuration Commands —
services ntp configure modify — Use the services ntp configure modify command to modify the network time protocol (NTP) configuration for a SpinServer cluster.
services ntp configure show — Use the services ntp configure show command to display the network time protocol (NTP) configuration for a SpinServer cluster.
NTP Servers Commands —
services ntp servers delete — Use the services ntp servers delete command to delete a reference to a network time protocol (NTP) server.
services ntp servers new — Use the services ntp servers new command to create a reference to a network time protocol (NTP) server.
services ntp servers show — Use the services ntp servers show command to display information about a network time protocol (NTP) server or servers.
SNMP Commands —
services snmp trapdest delete — Use the services snmp trapdest delete command to delete a Simple Network Management Protocol (SNMP) trap destination.
services snmp trapdest modify — Use the services snmp trapdest modify command to modify a Simple Network Management Protocol (SNMP) trap destination.
services snmp trapdest new — Use the services snmp trapdest new command to create a Simple Network Management Protocol (SNMP) trap destination.
services snmp trapdest show — Use the services snmp trapdest show command to display information about one or more SNMP trap destinations.
Support Configuration Commands —
services support configuration modify — Use the services support configure modify command to modify the health-monitoring configuration for a cluster.
services support configure show — Use the services support configure show command to display information about the health-monitoring configuration for a cluster.

Antivirus Commands

Name

Antivirus Commands -- 

The services antivirus subnode contains the following leaf nodes:


Antivirus Configuration Commands

Name

Antivirus Configuration Commands -- 

The services antivirus configuration leaf node contains the following commands:


services antivirus configuration modify

Name

services antivirus configuration modify -- Use the services antivirus configuration modify command to modify the antivirus configuration for a SpinServer cluster.

Synopsis

CLI:

services antivirus configuration modify -scannerenabled {true | false} -updatefileurl FTP_URL -autoupdateenabled {true | false} -schedule {#-Minutely | hourly | daily | weekly | monthly | yearly | N/A}

GUI: Navigate to the Services → Antivirus → Configuration node. In the table that is displayed, make the appropriate modifications, then run the Modify command from the drop-down menu.

Description

The services antivirus configuration modify command enables you to modify the following configuration information for the antivirus service on a SpinServer cluster:

Options

-scannerenabled {true | false}

This specifies whether virus scanning is enabled. The default is true.

-repairfiles {true | false}

This specifies whether the virus scanner attempts to repair infected files automatically. The default is true.

-updatefileurl FTP_URL

This specifes an FTP URL from which virus-database updates can be retrieved.

-autoupdateenabled {true | false}

This specifies whether virus-database updates are automatically retrieved from the FTP URL specified by the -updatefileurl parameter. The default is false.

-schedule {#-Minutely | hourly | daily | weekly | monthly | yearly | N/A}

This specifies the schedule on which virus-database updates are retrieved.

Example

The following example enables virus scanning and automatic repair of infected files. It also enables automatic updates from an FTP site named ftp://ftp.spinnakernet.com/pub/antivirus/2.5/update.cfg. Updates occur weekly.

spinserver::> services antivirus configuration modify -scannerenabled true -repairfiles true -updatefileurl ftp://ftp.spinnakernet.com/pub/antivirus/2.5/update.cfg -autoupdateenabled true -schedule weekly

services antivirus configuration show

Name

services antivirus configuration show -- Use the services antivirus configuration show command to display information about the antivirus configuration for a cluster.

Synopsis

CLI:

services antivirus configuration show

GUI: Navigate to the Services → Antivirus → Configuration node.

Description

The services antivirus configuration show command displays the following information about the antivirus configuration for a SpinServer cluster:

Options

There are no parameters for this command.

Example

The following example displays antivirus configuration information for a SpinServer cluster.

spinserver::> services antivirus configuration show
   Latest Scanner Level               3                                       
   Enable AntiVirus Scanner Service   true                                    
   Repair Infected Files              true                                    
   URL for Update Info  File          ftp://ftp.spinnakernet.com/pub/antivirus/2.5/update.cfg
   Enable Auto Update                 true
   Auto Update Schedule               weekly

services antivirus configuration testurl

Name

services antivirus configuration testurl -- Use the services antivirus configuration testurl command to test a download of the antivirus configuration file.

Synopsis

CLI:

services antivirus configuration testurl

GUI: Navigate to the Services → Antivirus → Configuration node and run the Test Update Info URL command from the drop-down menu of the action pane.

Description

The services antivirus configuration testurl command tests a download of the antivirus configuration file from the URL specified by the -updatefileurl parameter of the services antivirus configuration modify command. The test is run as a background job. The command returns a job ID; use the jobs show command to monitor the progress and outcome of the test.

Options

There are no parameters for this command.

Example

The following example tests the download of an antivirus configuration file.

spinserver::> services antivirus configuration testurl

Antivirus Scanners Commands

Name

Antivirus Scanners Commands -- 

The services antivirus scanners leaf node contains the following commands:


services antivirus scanners delete

Name

services antivirus scanners delete -- Use the services antivirus scanners delete command to delete a scanner level.

Synopsis

CLI:

services antivirus scanners delete -scannerlevel scanner_level

GUI: Navigate to the Services → Antivirus → Scanners node. Select a scanner level from the table and run the Delete command from the drop-down table of the action pane.

Description

The services antivirus scanners delete command deletes a scanner level. In SpinAV terminology, a scanner is the combination of an antivirus engine and a virus-definition database.

Options

-scannerlevel scanner_level

This is the scanner level (antivirus engine plus virus database) that is to be deleted.

Example

The following example deletes scanner level 3:

spinserver::> services antivirus scanner delete -scannerlevel 3

services antivirus scanners show

Name

services antivirus scanners show -- Use the services antivirus scanners show command to display information about one or more scanner levels.

Synopsis

CLI:

services antivirus scanners show [-scannerlevel scanner_level]

GUI: Navigate to the Services → Antivirus → Scanners node. To display information about a specific scanner level, select it from the table and run the Show command from the drop-down table of the action pane.

Description

The services antivirus scanners show command displays information about one or more scanner levels. In SpinAV terminology, a scanner is the combination of an antivirus engine and a virus-definition database. The command displays the following information:

Options

[-scannerlevel scanner_level]

This is the scanner level (antivirus engine plus virus database) about which information is to be displayed.

Example

The following example displays information about all scanner levels:

spinserver::> services antivirus scanner show
  Scanner            Engine          Database
   Level            Version          Version
  2                 1002             1001
  3                 1002             1002
  4                 1003             1002

Antivirus Servers Commands

Name

Antivirus Servers Commands -- 

The services antivirus servers leaf node contains the following commands:


services antivirus servers deletescannerfiles

Name

services antivirus servers deletescannerfiles -- Use the services antivirus servers deletescannerfiles command to delete antivirus scanner files from a specified SpinServer.

Synopsis

CLI:

services antivirus servers deletescannerfiles -ssid spinserver -scanner scanner

GUI: Navigate to the Services → Antivirus → Servers node. Select a server from the table and run the Delete Scanner Files command from the drop-down table of the action pane. Enter the appropriate information into the table that is displayed, then click Delete Scanner Files.

Description

The services antivirus servers deletescannerfiles command deletes antivirus-scanner files from a specified SpinServer.

Options

-ssid spinserver

This is the name of the SpinServer from which scanner files are to be deleted.

-scanner scanner

This is the scanner level of the scanner files that are to be deleted.

Example

The following example deletes the files for scanner 3 from a SpinServer named Server1:

spinserver::> services antivirus servers deletescannerfiles -ssid Server1 -scanner 3

services antivirus servers getlatestupdate

Name

services antivirus servers getlatestupdate -- Use the services antivirus servers getlatestupdate command to download the latest antivirus update to a specified SpinServer.

Synopsis

CLI:

services antivirus servers getlatestupdate -ssid spinserver

GUI: Navigate to the Services → Antivirus → Servers node. Select a server from the table and run the Get Latest Update command from the drop-down table of the action pane.

Description

The services antivirus servers getlatestupdate command downloads the latest antivirus update to a specified SpinServer and sets the updated files as the current scanner level. This command must be run on each SpinServer that requires updated antivirus files.

Options

-ssid spinserver

This is the name of the SpinServer on which scanner files are to be updated.

Example

The following example downloads the latest antivirus updates to a SpinServer named Server1:

spinserver::> services antivirus servers getlatestupdate -ssid Server1

services antivirus servers getupdate

Name

services antivirus servers getupdate -- Use the services antivirus servers getupdate command to download a specific antivirus update to a specified SpinServer.

Synopsis

CLI:

services antivirus servers getupdate -ssid spinserver -enginerurl URL_for_engine -databaseurl URL_for_database

GUI: Navigate to the Services → Antivirus → Servers node. Select a server from the table and run the Get Update command from the drop-down table of the action pane. Enter the appropriate information into the table that is displayed, then click Get Update.

Description

The services antivirus servers getupdate command downloads a specific antivirus update in the form of an antivirus engine and a virus database file to a specified SpinServer, then sets the updated files as the current scanner level. This command must be run on each SpinServer that requires updated antivirus files.

Options

-ssid spinserver

This is the name of the SpinServer on which scanner files are to be updated.

-engineurl URL_for_engine

This specifies the URL from which the engine database is to be downloaded.

-databaseurl URL_for_database

This specifies the URL from which the virus database file is to be downloaded.

Example

The following example downloads an antivirus engine named eng-1007.tgz and a virus database named dat-1007.tgz from the FTP site ftp://ftp.spinnakernet.com/pub/antivirus/2.5 to a SpinServer named Server1, then sets the new files as the current scanner level:

spinserver::> services antivirus servers getlatestupdate -ssid Server1 -engineurl ftp::/ftp.spinnakernet.com/pub/antivirus/2.5/eng-1007.tgz -databaseurl ftp://ftp.spinnakernet.com/pub/antivirus/2.5/dat-1007.tgz

services antivirus servers setcurrent

Name

services antivirus servers setcurrent -- Use the services antivirus servers setcurrent command to set the antivirus scanner for a specified SpinServer.

Synopsis

CLI:

services antivirus servers setcurrent -ssid spinserver -scanner scanner

GUI: Navigate to the Services → Antivirus → Servers node. Select a server from the table and run the Set Current Scanner command from the drop-down table of the action pane. Enter the appropriate information into the table that is displayed, then click Set Current Scanner.

Description

The services antivirus servers setcurrent command sets the scanner level for a specific SpinServer.

Options

-ssid spinserver

This is the name of the SpinServer on which the scanner level is to be set.

-scanner scanner

This specifies the scanner that is to be set as the current level.

Example

The following example sets scanner level 1 as the current scanner on a SpinServer named Server1:

spinserver::> services antivirus servers setcurrent -ssid Server1 -scanner 1

services antivirus servers show

Name

services antivirus servers show -- Use the services antivirus servers show command to display information about the antivirus server on one or more SpinServers.

Synopsis

CLI:

services antivirus servers show [-ssid spinserver]

GUI: Navigate to the Services → Antivirus → Servers node. To display information about a specific server, select it from the table and run the Show command from the drop-down table of the action pane.

Description

The services antivirus servers show command displays information about the antivirus server on one or more SpinServers. Use the command with the -ssid parameter to display information aobut a specific SpinServer, or without the parameter to display information about all SpinServers in the cluster. The command displays the following information:

When the -ssid parameter is specified to display information about the antivirus scanner on a particular SpinServer, the command displays the following additional information:

Options

[-ssid spinserver]

This is the name of the SpinServer about which antivirus information is to be displayed.

Example

The following example displays information about the antivirus server on a SpinServer named Server1:

spinserver::> services antivirus servers show -ssid Server1
   SpinServer ID               Server1
   Scanner Status              Up                                      
   Current Scanner Level       2                                       
   Time Current Scanner Set    10/23/03 6:01 PM                        
   Downloaded Scanners         1, 2                                    
   Update In Progress          false                                   
   Next Auto Update Time       10/30/03 12:00 AM                       
   Last Auto Update Time       10/29/03 12:00 AM                       
   Auto Update Status          Succeeded                               
   Auto Update Message         Currently using scanner:2 available at download server
   No. of Scans Completed      503158                                  
   High Priority Queue Depth   0                                       
   Low Priority Queue Depth    0                                       
   No. of Idle Threads         10                                      

Firewall Commands

Name

Firewall Commands -- 

The services firewall configure node includes the following commands:


services firewall configure modify

Name

services firewall configure modify -- Use the services firewall configure modify command to modify the firewall configuration for a cluster.

Synopsis

CLI:

services firewall configure modify -mgmtonservports {true | false} -svcsonservports {true | false} -svcsonmgmtport {true | false}

GUI: Navigate to the Services → Firewall → Configuration node. Make the appropriate changes to the table that is displayed, then run the Modify command from the drop-down menu of the action pane.

Description

The services firewall configure modify command modifies the firewall configuration for the management and server ports in a SpinServer cluster.

Options

-mgmtonservports {true | false}

This specifies whether management is accessible on server ports. The default is false.

-svcsonservports {true | false}

This specifies whether file-serving services are available on the server ports. The default is true.

-svcsonmgmtport {true | false}

This specifies whether file-serving services are available on the management port. The default is false.

Example

The following example specifies that management is accessible on the server ports, services are accessible on the server ports, and services are not accessible on the management port:

spinserver::> services firewall configure modify -mgmtonservports true -svcsonservports true -svcsonmgmtport false

services firewall configure show

Name

services firewall configure show -- Use the services firewall configure show command to display information about the firewall configuration for a cluster.

Synopsis

CLI:

services firewall configure show

GUI: Navigate to the Services → Firewall → Configuration node.

Description

The services firewall configure show command displays the following information about the firewall configuration for the management and server ports in a SpinServer cluster:

Options

There are no options for this command.

Example

The following example displays information about the firewall configuration for the management and server ports in the cluster:

spinserver::> services firewall configure show
   Mgmt On Server Ports       false                                   
   Services On Server Ports   true                                    
   Services On Mgmt Port      true                                    
   Configuration Revision     1                                       

NDMP Commands

Name

NDMP Commands -- 

The services ndmp subnode contains the following leaf-node commands:


services ndmp modify

Name

services ndmp modify -- Use the services ndmp modify command to modify a Network Data Management Protocol (NDMP) service for a backup system for a specified SpinServer.

Synopsis

CLI:

services ndmp modify -ssid spinserver -enable {true | false} -username user_name -password user_password -cleartext {true | false}

GUI: Navigate to the Services → NDMP node, then select an NDMP service from the table and run the Show command from the drop-down menu of the action pane. In the table that is displayed, make the appropriate modifications, then run the Modify command from the drop-down menu.

Description

The services ndmp modify command identifies a SpinServer and enables you to modify the following configuration information for an NDMP service:

Options

-ssid spinserver

This is the ID given to the SpinServer.

-enable {true | false}

This specifies whether the SpinServer is enabled (true) or disabled (false).

-username user_name

This is name of the user.

-cleartext {true | false}

This specifies whether the clear-text password on the network is enabled (true) or disabled (false).

Example

The following command example identifies an active SpinServer named Server1 and modifies the NDMP service. The username is chris, whose password is 0978. Clear-text passwords are enabled on the network.

spinserver::> services ndmp modify -ssid Server1 -enable true -username chris -password 0978 -cleartext true

services ndmp show

Name

services ndmp show -- Use the services ndmp show command to display Network Data Management Protocol (NDMP) configuration information for a SpinServer.

Synopsis

CLI:

services ndmp show [-ssid spinserver]

GUI: Navigate to the Services → NDMP node. To display information about a particular NDMP service, select it from the table and run the Show command from the drop-down menu of the action pane.

Description

The services ndmp show command displays NDMP configuration information about a SpinServer if the parameters are specified, and NDMP configuration information about all SpinServers if no parameters are specified. The command displays the following information about the NDMP configuration:

Options

[-ssid spinserver]

This is the ID given to the SpinServer.

Example

The following command example displays NDMP configuration information for a SpinServer named Server1.

spinserver::> services ndmp show -ssid Server1
SpinServ Server   Username   Password  Clear 
   ID    Enabled                        Text
                                       Passwd
                                             
                                                              
Server1  false   nouser     nopassword false

NTP Commands

Name

NTP Commands -- 

The services ntp subnode includes the following leaf nodes:


NTP Configuration Commands

Name

NTP Configuration Commands -- 

The services ntp configure leaf node includes the following commands:


services ntp configure modify

Name

services ntp configure modify -- Use the services ntp configure modify command to modify the network time protocol (NTP) configuration for a SpinServer cluster.

Synopsis

CLI:

services ntp configure modify -clustername cluster_name -enabled {true | false} -usepdcs {true | false} -useclus {true | false}

GUI: Navigate to the Services → NTP → Cluster Configuration node. Select a configuration from the table and run the Show command from the drop-down table of the action pane. In the table that is displayed, make the appropriate modifications, then run the Modify command from the drop-down menu.

Description

The services ntp configure modify command modifies the NTP configuration for a SpinServer cluster.

Options

-clustername cluster_name

This is the name of the cluster.

-enabled {true | false}

This specifies whether or not to use NTP in the cluster. The default is true.

-usepdcs {true | false}

This specifies whether to use the time setting of the Windows primary domain controller (PDC). The default is false.

-useclus {true | false}

This specifies whether to use SpinServers in the cluster as NTP peers. The default is false.

Example

The following example enables the use of NTP in a cluster named Clus1. PDC time is not used, and SpinServers in the cluster are not used as peers.

spinserver::> services ntp configure modify -clustername Clus1 -enabled true -usepdcs false -useclus false

services ntp configure show

Name

services ntp configure show -- Use the services ntp configure show command to display the network time protocol (NTP) configuration for a SpinServer cluster.

Synopsis

CLI:

services ntp configure show [-clustername cluster_name]

GUI: Navigate to the Services → NTP → Cluster Configuration node. To display information about a particular configuration, select it from the table and run the Show command from the drop-down table of the action pane.

Description

The services ntp configure show command displays the NTP configuration for a SpinServer cluster. The command displays the following information:

Options

[-clustername cluster_name]

This is the name of the cluster.

Example

The following example displays information about the use of NTP in a cluster named Clus1.

spinserver::> services ntp configure show -clustername Clus1
   Cluster Name             Clus1
   Enabled                  true
   Use PDC Time             false
   Configuration Revision   0

NTP Servers Commands

Name

NTP Servers Commands -- 

The services ntp servers leaf node includes the following commands:


services ntp servers delete

Name

services ntp servers delete -- Use the services ntp servers delete command to delete a reference to a network time protocol (NTP) server.

Synopsis

CLI:

services ntp servers delete -ipaddress IP_address

GUI: Navigate to the Services → NTP → Time Servers node. Select an NTP server from the table and run the Delete command from the drop-down table of the action pane.

Description

The services ntp servers delete command deletes a reference to an NTP server.

Options

-ipaddress IP_address

This is the IP address of the NTP server whose reference is to be deleted.

Example

The following example deletes the reference to an NTP server with the IP address 10.1.4.1:

spinserver::> services ntp servers delete -ipaddress 10.1.4.1

services ntp servers new

Name

services ntp servers new -- Use the services ntp servers new command to create a reference to a network time protocol (NTP) server.

Synopsis

CLI:

services ntp servers new -ipaddress IP_address

GUI: Navigate to the Services → NTP → Time Servers node and click New in the top bar of the action pane. Enter the IP address of the NTP server into the table that is displayed, then click Create.

Description

The services ntp servers new command creates a reference to an NTP server.

Options

-ipaddress IP_address

This is the IP address of the NTP server to which a reference is to be added.

Example

The following example creates a reference to an NTP server with the IP address 10.1.4.1:

spinserver::> services ntp servers new -ipaddress 10.1.4.1

services ntp servers show

Name

services ntp servers show -- Use the services ntp servers show command to display information about a network time protocol (NTP) server or servers.

Synopsis

CLI:

services ntp servers show [-ipaddress IP_address]

GUI: Navigate to the Services → NTP → Time Servers node. To display information about a particular NTP server, select it from the table and run the Show command from the drop-down table of the action pane.

Description

The services ntp servers show command displays the IP address or addresses of one or more NTP servers.

Options

[-ipaddress IP_address]

This is the IP address of the NTP server whose reference is to be deleted.

Example

The following example displays information about the NTP servers that are configured to work with a SpinServer:

spinserver::> services ntp servers show 
    IP Address
    10.1.4.1
    10.2.4.1

SNMP Commands

Name

SNMP Commands -- 

The services snmp subnode contains the trapdest leaf node, which includes the following commands:


services snmp trapdest delete

Name

services snmp trapdest delete -- Use the services snmp trapdest delete command to delete a Simple Network Management Protocol (SNMP) trap destination.

Synopsis

CLI:

services snmp trapdest delete -ipaddress IP_address

GUI: Navigate to the Services → SNMP → Trap Destinations node, then select a trap destination and run Delete command from the drop-down menu of the action pane.

Description

The services snmp trapdest delete command deletes an SNMP trap destination.

Options

-ipaddress IP_address

This specifies the IP address of the managing entity that receives SNMP traps.

Example

The following command example deletes an SNMP trap destination on a managing entity with the IP address 10.10.127.1.

spinserver::> services snmp trapdest delete -ipaddress 10.10.127.1

services snmp trapdest modify

Name

services snmp trapdest modify -- Use the services snmp trapdest modify command to modify a Simple Network Management Protocol (SNMP) trap destination.

Synopsis

CLI:

services snmp trapdest modify -ipaddress IP_address -trapport trap_port -community community -snmpversion SNMP_version

GUI: Navigate to the Services → SNMP → Trap Destinations node, then select a trap destination from the table and run the Show command from the drop-down menu in the action pane. In the table that is displayed, make the appropriate modifications, then run the Modify command from the drop-down menu.

Description

The services snmp trapdest modify command modifies an SNMP trap destination.

Options

-ipaddress IP_address

This specifies the IP address of the managing entity that receives SNMP traps.

-trapport trap_port

This specifies the port number of the managing entity that receives SNMP traps.

-community community

This specifies the SNMP community name of the managing entity.

-snmpversion SNMP_version

This specifies the SNMP version that is used by the managing entity. Possible values include SNMPv1 and SNMPv2c.

Example

The following example modifies an SNMP trap destination on a managing entity with the IP address 10.10.127.1 and the port number 162. The managing entity belongs to an SNMP community named public and uses SNMPv1.

spinserver::> services snmp trapdest new -ipaddress 10.10.127.1 -trapport 162 -community public -snmpversion SNMPv1

services snmp trapdest new

Name

services snmp trapdest new -- Use the services snmp trapdest new command to create a Simple Network Management Protocol (SNMP) trap destination.

Synopsis

CLI:

services snmp trapdest new -ipaddress IP_address -trapport trap_port -community community -snmpversion SNMP_version

GUI: Navigate to the Services → SNMP → Trap Destinations node, then click New in the top bar of the action pane. Enter the appropriate values into the table that is displayed and click Create.

Description

The services snmp trapdest new command creates an SNMP trap destination.

Options

-ipaddress IP_address

This specifies the IP address of the managing entity that is to receive SNMP traps.

-trapport trap_port

This specifies the port number of the managing entity that is to receive SNMP traps.

-community community

This specifies the SNMP community name of the managing entity.

-snmpversion SNMP_version

This specifies the SNMP version that is used by the managing entity. Possible values include SNMPv1 and SNMPv2c.

Example

The following example creates an SNMP trap destination on a managing entity with the IP address 10.10.127.1 and the port number 162. The managing entity belongs to an SNMP community named public and uses SNMPv2c.

spinserver::> services snmp trapdest new -ipaddress 10.10.127.1 -trapport 162 -community public -snmpversion SNMPv2c

services snmp trapdest show

Name

services snmp trapdest show -- Use the services snmp trapdest show command to display information about one or more SNMP trap destinations.

Synopsis

CLI:

services snmp trapdest show [-ipaddress IP_address]

GUI: Navigate to the Services → SNMP → Trap Destinations node. To display information for a specific trap destination, select it from the table and run the Show command from the drop-down table of the action pane.

Description

The services snmp trapdest show command displays information about all SNMP trap destinations or about a specified SNMP trap destination. Use the command with the -ipaddress parameter to display information about a single SNMP trap destination, or without the parameter to display information about all SNMP trap destinations. The information displayed includes the following:

Options

[-ipaddress IP_address]

This specifies the IP address of the managing entity about which SNMP trap-destination information is to be displayed.

Example

The following example displays information about all SNMP trap destinations:

spinserver::> services snmp trapdest show 
IP Address  Trap Port  Community  SNMP Version
10.10.127.1  162        public     SNMPv2c
10.10.127.2  162        public     SNMPv1

Support Configuration Commands

Name

Support Configuration Commands -- 

The following services support configure commands enable you to manage automatic health monitoring for a cluster:


services support configuration modify

Name

services support configuration modify -- Use the services support configure modify command to modify the health-monitoring configuration for a cluster.

Synopsis

CLI:

services support configure modify -enabled {true | false} -reportperiod {daily | weekly | monthly} -supportemail support_email_address

GUI: Navigate to the Services → Health Monitor → Configuration node. Make the appropriate changes to the table that is displayed, then run the Modify command from the drop-down menu of the action pane.

Description

The services support configure modify command modifies the health-monitoring configuration for a SpinServer cluster.

Options

-enabled {true | false}

This specifies whether health monitoring is enabled on the cluster. The default is true.

-reportperiod {daily | weekly | monthly}

This specifies how often health-monitoring reports are sent. The default is daily.

-supportemail support_email_address

This specifies the email address to which health-monitoring reports are sent. The default is support@spinnakernet.com.

Example

The following example enables health monitoring on a weekly basis and emails reports to support@spinnakernet.com.

spinserver::> services support configure modify -enabled true -reportperiod weekly -supportemail support@spinnakernet.com

services support configure show

Name

services support configure show -- Use the services support configure show command to display information about the health-monitoring configuration for a cluster.

Synopsis

CLI:

services support configure show

GUI: Navigate to the Services → Health Monitor → Configuration node.

Description

The services support configure show command displays the following information about the health-monitoring configuration for a SpinServer cluster:

Options

There are no options for this command.

Example

The following example displays information about the health-monitoring configuration for the cluster:

spinserver::> services support configure show
   Enabled                  true                                    
   Health Report Period     daily                                   
   Support Email Address    support@spinnakernet.com                
   Configuration Revision   1                                       

Copyright © 2004 Network Appliance, Inc.; copyright © 2003, 2004 Spinnaker Networks, LLC. All rights reserved. Specifications subject to change without notice.